package com.wyq.gulimall.vo;


import com.wyq.gulimall.common.vo.SkuEsModel;
import lombok.Data;

import java.util.List;

@Data
public class SearchResultVo {

    private Integer pageNum;/*当前页*/
    private Long totalPage;/*总页数*/
    private Long total;/*总数据*/
    private List<SkuEsModel> SkuModelVoList;
    private List<CategoryVo> categoryVoList;
    private List<BranVo> branVoList;
    private List<AttrVo> attrVoList;

    @Data
    public static class CategoryVo {
        private Long categoryId;
        private String categoryName;
    }

    @Data
    public static class BranVo {
        private Long brandId;
        private String brandName;
        private String brandImg;
    }

    @Data
    public static class AttrVo {
        private Long attrId;
        private String attrName;
        private List<String> attrValue;
    }
}
